//
//  CustomizaOrderConfirmControl.m
//  ai2ban
//
//  Created by Heartbeats on 2018/1/11.
//  Copyright © 2018年 mac book pro. All rights reserved.
//

#import "CustomizaOrderConfirmControl.h"

@interface CustomizaOrderConfirmControl ()
@property (weak, nonatomic) IBOutlet UIImageView *goodImgV;
@property (weak, nonatomic) IBOutlet UILabel *goodName;
@property (weak, nonatomic) IBOutlet UILabel *goodScoreLab;
@property (weak, nonatomic) IBOutlet UITextField *userNameTextFile;
@property (weak, nonatomic) IBOutlet UITextField *phoneTextFile;
@property (weak, nonatomic) IBOutlet UITextField *addressTextFile;

@end

@implementation CustomizaOrderConfirmControl

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setGoodModel:self.goodModel];
}

- (void)setGoodModel:(JiFenGoodModel *)goodModel {
    _goodModel = goodModel;
    self.goodName.text = goodModel.name;
    self.goodScoreLab.text = goodModel.showScore;
    [self.goodImgV sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ImageBaseUrl, goodModel.picImg]]];
    self.userNameTextFile.text = AppManager.user.userName;
    self.phoneTextFile.text = AppManager.user.telephone;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
@end
